package org.jeecg.modules.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import java.util.List;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.modules.entity.base.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: db_salary
 * @Author: jeecg-boot
 * @Date:   2024-07-08
 * @Version: V1.0
 */
@Data
@TableName("db_salary")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="db_salary对象", description="db_salary")
public class DbSalary extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键id")
    private String id;
	/**员工id*/
	@Excel(name = "员工id", width = 15)
    @ApiModelProperty(value = "员工id")
    private String empId;
	/**变更日期*/
	@Excel(name = "变更日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "变更日期")
    private Date changeDate;
	/**生效日期*/
	@Excel(name = "生效日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "生效日期")
    private Date startDate;
	/**经手人*/
	@Excel(name = "经手人", width = 15)
    @ApiModelProperty(value = "经手人")
    private String handler;
	/**变更后基本工资*/
	@Excel(name = "变更后基本工资", width = 15)
    @ApiModelProperty(value = "变更后基本工资")
    private BigDecimal salary;
	/**变更后绩效*/
	@Excel(name = "变更后绩效", width = 15)
    @ApiModelProperty(value = "变更后绩效")
    private Integer performance;
	/**交通补贴*/
	@Excel(name = "交通补贴", width = 15)
    @ApiModelProperty(value = "交通补贴")
    private BigDecimal transSupport;
	/**午餐补助*/
	@Excel(name = "午餐补助", width = 15)
    @ApiModelProperty(value = "午餐补助")
    private BigDecimal lunchSupport;
	/**附件*/
	@Excel(name = "附件", width = 15)
    @ApiModelProperty(value = "附件")
    private String fileGroupId;

    @TableField(exist = false)
    @ApiModelProperty(value = "文件ids")
    private List<String> fileIds;

}
